#ifndef TRANSFER_H
#define TRANSFER_H

#include <socket.h>

extern char* set_dummy_buffer(char *buffer, long size);
extern int recv_cmd(SOCKET sock, struct net_cmd *cmd);
extern int recv_data(SOCKET sock, void *buffer, unsigned long size);
extern int recv_dummy_data(SOCKET sock, unsigned long size);
extern int send_cmd(SOCKET sock, struct net_cmd *cmd);
extern int send_data(SOCKET sock, void *buffer, unsigned long size);
extern int send_dummy_data(SOCKET sock, unsigned long size);

#endif
